package cn.microservices.cloud.system.dao.dataobject;

import java.util.Date;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import cn.microservices.cloud.common.mybtis.core.dataobject.BaseDO;
import lombok.EqualsAndHashCode;

/**
* sys_identity_account : 第三方-子账号
*/
@Data
@EqualsAndHashCode(callSuper = false)
public class IdentityAccountDO extends BaseDO {


        /**
        * identity_type,  用户身份
        */
        @TableField(value = "identity_type")
        private String identityType;

        /**
        * identity_id,  身份ID
        */
        @TableField(value = "identity_id")
        private String identityId;

        /**
        * name_,  姓名
        */
        @TableField(value = "name_")
        private String name;

        /**
        * cellphone_,  手机号
        */
        @TableField(value = "cellphone_")
        private String cellphone;

        /**
        * username_,  用户名
        */
        @TableField(value = "username_")
        private String username;

        /**
        * email_,  邮箱
        */
        @TableField(value = "email_")
        private String email;

        /**
        * password_,  密码
        */
        @TableField(value = "password_")
        private String password;

        /**
        * role_,  账户类型：管理、财务、运营
        */
        @TableField(value = "role_")
        private String role;

        /**
        * default_flag,  
        */
        @TableField(value = "default_flag")
        private String defaultFlag;

        /**
        * status_,  状态：启用、未启用
        */
        @TableField(value = "status_")
        private String status;

        /**
        * open_id,  
        */
        @TableField(value = "open_id")
        private String openId;

        /**
        * union_id,  
        */
        @TableField(value = "union_id")
        private String unionId;

        /**
        * avatar_path,  头像
        */
        @TableField(value = "avatar_path")
        private String avatarPath;

        /**
        * nickname_,  昵称
        */
        @TableField(value = "nickname_")
        private String nickname;

        /**
        * im_username,  IM账号
        */
        @TableField(value = "im_username")
        private String imUsername;

        /**
        * message_receive_flag,  是否接受推送,主账号默认接
        */
        @TableField(value = "message_receive_flag")
        private String messageReceiveFlag;

        /**
        * authenticate_flag,  实名认证状态
        */
        @TableField(value = "authenticate_flag")
        private String authenticateFlag;

        /**
        * authenticate_time,  实名认证时间
        */
        @TableField(value = "authenticate_time")
        private Date authenticateTime;

        /**
        * agency_flag,  委托代理人标志
        */
        @TableField(value = "agency_flag")
        private String agencyFlag;

}